package com.yzt.zhuju.network.entity.message;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 作者：bobwang
 * 创建时间：2023-12-24 19:38:47
 * 描述：
 */
public class GroupEditBean implements Parcelable {

    private String sendUid;
    private String sendName;
    private String groupName;

    public GroupEditBean() {
    }

    public GroupEditBean(String sendUid, String sendName, String groupName) {
        this.sendUid = sendUid;
        this.sendName = sendName;
        this.groupName = groupName;
    }

    protected GroupEditBean(Parcel in) {
        sendUid = in.readString();
        sendName = in.readString();
        groupName = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(sendUid);
        dest.writeString(sendName);
        dest.writeString(groupName);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<GroupEditBean> CREATOR = new Creator<GroupEditBean>() {
        @Override
        public GroupEditBean createFromParcel(Parcel in) {
            return new GroupEditBean(in);
        }

        @Override
        public GroupEditBean[] newArray(int size) {
            return new GroupEditBean[size];
        }
    };

    public String getSendUid() {
        return sendUid;
    }

    public void setSendUid(String sendUid) {
        this.sendUid = sendUid;
    }

    public String getSendName() {
        return sendName;
    }

    public void setSendName(String sendName) {
        this.sendName = sendName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    @Override
    public String toString() {
        return "GroupEditBean{" +
                "sendUid='" + sendUid + '\'' +
                ", sendName='" + sendName + '\'' +
                ", groupName='" + groupName + '\'' +
                '}';
    }
}
